/*/
	ErrorDefinition.h (2005.06.06)
/*/
#pragma once

#define ERR_SUCCESS							0x0000
#define ERR_FAILED							0x0001

#define F_EXCEPTION							0x1000
#define F_NULL_POINTER						0x1001
#define F_NO_MEMORY							0x1002
#define F_API_ERROR							0x1003
#define F_INVALID_POINTER					0x1004
#define F_THREAD_ERROR						0x1005
#define F_COMMS_ERROR						0x1006
#define F_MUTEX_TIMEOUT						0x1007
#define F_FILE_ERROR						0x1008
#define F_SEEK_ERROR						0x1009
#define F_INVALID_CHECKSUM_VERSION			0x100A
#define F_INVALID_CHECKSUM_ITEM				0x100B
#define F_INVALID_WRITE_CHECK_VALUE			0x100C
#define F_INVALID_CHECKSUM					0x100D
#define F_DUPLICATE_MEMORY_QUERY			0x100E
#define F_INVALID_COM_PORT					0x100F
#define F_INVALID_WRITE_LENGTH				0x1010
#define F_INVALID_QUERY_STATE				0x1011
#define F_FILENAME_CONTENT_MISMATCH			0x1012
#define F_ROM_INDEX_LOOKUP_FAILED			0x1013
#define F_INVALID_ROM_FORMAT				0x1014
#define F_NULL_TABLE_DEFINITION				0x1015
#define F_NULL_ROM_DEFINITION				0x1016
#define F_INVALID_MAP_TYPE_OFFSET			0x1017

#define F_INVALID_SOURCE					0x2000
#define F_INVALID_DESTINATION				0x2001